package com.mc.model;


import java.util.List;


import java.io.Serializable;

public class Menu implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

    private Integer id;

    private String name;
    
    private List<SubMenu> childs;
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }
    
	public List<SubMenu> getChilds() {
		return childs;
	}

	public void setChilds(List<SubMenu> childs) {
		this.childs = childs;
	}

	@Override
	public String toString() {
		return "Menu [id=" + id + ", name=" + name + "]";
	}
	
}